<template>
    <div class="loadMore">
        <span class="load" @click="loadMore">点击加载更多</span>
    </div>
</template>

<script>
    export default{
        methods:{
            loadMore(){
                this.$emit('click')
            }
        }
    }
</script>

<style>
    .loadMore{
        margin: 15px 0;
        text-align: center;
    }
    .load{
        display: inline-block;
        border: 1px solid #0e77e4;
        color: #666;
        border-radius: 10px;
        line-height: 40px;
        width: 2rem;
    }
</style>